aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLorenz Diener <[email protected]>2018-06-05 22:10:31 +0200
committerLorenz Diener <[email protected]>2018-06-05 22:10:31 +0200
commit18c6b3b90ff8bd607df18af86d092ac1205ffbf7 (patch)
tree203729696d2639d5bf221168ad6c76a150130ab0 /tests/cassettes/test_status_post[None-private].yaml
parent36194fd60c8e5c6d30134134e32dd24981aee324 (diff)
downloadmastodon.py-18c6b3b90ff8bd607df18af86d092ac1205ffbf7.tar.gz
New casettes, small fixes
Diffstat (limited to 'tests/cassettes/test_status_post[None-private].yaml')
-rw-r--r--tests/cassettes/test_status_post[None-private].yaml28
1 files changed, 17 insertions, 11 deletions
diff --git a/tests/cassettes/test_status_post[None-private].yaml b/tests/cassettes/test_status_post[None-private].yaml
index d59bb12..9e61305 100644
--- a/tests/cassettes/test_status_post[None-private].yaml
+++ b/tests/cassettes/test_status_post[None-private].yaml
@@ -12,22 +12,25 @@ interactions:
12 method: POST 12 method: POST
13 uri: http://localhost:3000/api/v1/statuses 13 uri: http://localhost:3000/api/v1/statuses
14 response: 14 response:
15 body: {string: '{"id":"99984774231867812","created_at":"2018-05-06T22:42:59.496Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"private","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984774231867812","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984774231867812","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"reblog":null,"application":{"name":"Mastodon.py 15 body: {string: '{"id":"100154009744488975","created_at":"2018-06-05T20:01:48.484Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"private","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154009744488975","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154009744488975","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"reblog":null,"application":{"name":"Mastodon.py
16 test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John 16 test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
17 Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI 17 Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
18 walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":2},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} 18 walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":21,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'}
19 headers: 19 headers:
20 Cache-Control: ['max-age=0, private, must-revalidate'] 20 Cache-Control: ['max-age=0, private, must-revalidate']
21 Content-Type: [application/json; charset=utf-8] 21 Content-Type: [application/json; charset=utf-8]
22 ETag: [W/"fc590d78537a24ee0f12e602e9346e98"] 22 ETag: [W/"926d42aaaf67a7d0f396b41981901d3a"]
23 Referrer-Policy: [strict-origin-when-cross-origin]
23 Transfer-Encoding: [chunked] 24 Transfer-Encoding: [chunked]
24 Vary: ['Accept-Encoding, Origin'] 25 Vary: ['Accept-Encoding, Origin']
25 X-Content-Type-Options: [nosniff] 26 X-Content-Type-Options: [nosniff]
27 X-Download-Options: [noopen]
26 X-Frame-Options: [SAMEORIGIN] 28 X-Frame-Options: [SAMEORIGIN]
27 X-Request-Id: [c3fcf435-6b18-4088-b6a9-ff65c2350dd8] 29 X-Permitted-Cross-Domain-Policies: [none]
28 X-Runtime: ['0.321112'] 30 X-Request-Id: [21e15016-72ad-4066-a5ff-7ee60555aacc]
31 X-Runtime: ['0.309495']
29 X-XSS-Protection: [1; mode=block] 32 X-XSS-Protection: [1; mode=block]
30 content-length: ['1386'] 33 content-length: ['1491']
31 status: {code: 200, message: OK} 34 status: {code: 200, message: OK}
32- request: 35- request:
33 body: null 36 body: null
@@ -39,19 +42,22 @@ interactions:
39 Content-Length: ['0'] 42 Content-Length: ['0']
40 User-Agent: [python-requests/2.9.1] 43 User-Agent: [python-requests/2.9.1]
41 method: DELETE 44 method: DELETE
42 uri: http://localhost:3000/api/v1/statuses/99984774231867812 45 uri: http://localhost:3000/api/v1/statuses/100154009744488975
43 response: 46 response:
44 body: {string: '{}'} 47 body: {string: '{}'}
45 headers: 48 headers:
46 Cache-Control: ['max-age=0, private, must-revalidate'] 49 Cache-Control: ['max-age=0, private, must-revalidate']
47 Content-Type: [application/json; charset=utf-8] 50 Content-Type: [application/json; charset=utf-8]
48 ETag: [W/"b57feed6bdadd98678ea38b428bb019d"] 51 ETag: [W/"61c5afae6e2b05bd4021a68864d29d8a"]
52 Referrer-Policy: [strict-origin-when-cross-origin]
49 Transfer-Encoding: [chunked] 53 Transfer-Encoding: [chunked]
50 Vary: ['Accept-Encoding, Origin'] 54 Vary: ['Accept-Encoding, Origin']
51 X-Content-Type-Options: [nosniff] 55 X-Content-Type-Options: [nosniff]
56 X-Download-Options: [noopen]
52 X-Frame-Options: [SAMEORIGIN] 57 X-Frame-Options: [SAMEORIGIN]
53 X-Request-Id: [3fa57160-0fef-423e-9b3e-8118261c6390] 58 X-Permitted-Cross-Domain-Policies: [none]
54 X-Runtime: ['0.172930'] 59 X-Request-Id: [a5c08dc8-3a4b-49d7-8c52-86c1a674f90d]
60 X-Runtime: ['0.113983']
55 X-XSS-Protection: [1; mode=block] 61 X-XSS-Protection: [1; mode=block]
56 content-length: ['2'] 62 content-length: ['2']
57 status: {code: 200, message: OK} 63 status: {code: 200, message: OK}
Powered by cgit v1.2.3 (git 2.41.0)